package structuralPattern.adapter.example01;

/**
 * 类适配器
 */
public class SDAdapterTF extends TFCardImpl implements SDCard {
    @Override
    public String readSD() {
        System.out.println("adapter read TF card");
        return readTF();
    }

    @Override
    public void writeSD(String data) {
        System.out.println("adapter write TF card");
        writeTF(data);
    }
}
